package com.lpit.controller;

import com.lpit.dto.UserHomeDto;
import com.lpit.pojo.Certification;
import com.lpit.pojo.Feedback;
import com.lpit.vo.ArticleVo;
import com.lpit.vo.UserVo;
import com.lpit.result.ResponseResult;

import java.util.List;

public interface UserCenterControllerApi {
    /*用户首页个人资料加载*/
    public ResponseResult<UserVo> getUserHomeLoad(UserHomeDto userHomeDto);

    /*加载个人主页作品*/
    public ResponseResult<List<ArticleVo>> getUserArticleLoad(UserHomeDto userHomeDto);

    /*用户文章最热前十条*/
    public ResponseResult<List<ArticleVo>> getUserArticleSortLoad(UserHomeDto userHomeDto);

    /* 用户认证*/
    public ResponseResult<Certification> authentication(Certification certification);

    /* 用户反馈*/
    public ResponseResult<Feedback> feedback(Feedback feedback);
}
